﻿using Abp.Application.Services.Dto;
using Nest;
using System;
using System.Collections.Generic;
using System.Text;

namespace AbpBuild.WenShu.Dto
{
    /// <summary>
    /// 文书详情
    /// </summary>
    public class RecordDetailDTO : EntityDto<string>
    {
        public RecordDetailDTO()
        {
            docCodeOthersDetail = new List<wenshuJM>();
        }
        /// <summary>
        /// 相关公司
        /// </summary>
        public List<companyJM> companys { get; set; }
        /// <summary>
        /// 案号
        /// </summary>
        public string docCode { get; set; }  //案号
        /// <summary>
        /// 关联案号
        /// </summary>
        public List<string> docCodeOthers { get; set; }//相关案号
        /// <summary>
        /// 相关案件简介
        /// </summary>
        public List<wenshuJM> docCodeOthersDetail { get; set; }//相关案号     ----?注意，这里要用所有的code去查关联的  和插入index 的不同
        /// <summary>
        /// 当事人
        /// </summary>
        public List<string> peoples { get; set; }//当事人
        /// <summary>
        /// 标签
        /// </summary>
        public List<string> keywords { get; set; }//标签
        /// <summary>
        /// 案由
        /// </summary>
        public List<string> caseReason { get; set; }//案由
        /// <summary>
        /// 相关法律
        /// </summary>
        public List<relaLaw> lawLists { get; set; }//相关法律
        /// <summary>
        /// 最大涉案金额
        /// </summary>
        public double crimeMoney { get; set; } = 0; //
        /// <summary>
        /// 最大标的金额
        /// </summary>
        public double projectMoney { get; set; } = 0; //
        /// <summary>
        /// 原告
        /// </summary>
        public List<guanxiren> yuangao { get; set; }//原告
        /// <summary>
        /// 原告律师
        /// </summary>
        public List<lvmanage> yuangaoLv { get; set; }//原告律师
        /// <summary>
        /// 被告
        /// </summary>
        public List<guanxiren> beigao { get; set; }//被告
        /// <summary>
        /// 被告律师
        /// </summary>
        public List<lvmanage> beigaoLv { get; set; }//被告律师
        /// <summary>
        /// 第三方
        /// </summary>
        public List<guanxiren> di3ren { get; set; }//前审相关人
        /// <summary>
        /// 第三方律师
        /// </summary>
        public List<lvmanage> di3renLv { get; set; }//前审相关人律师
        /// <summary>
        /// 案件类型"民事案件"
        /// </summary>
        public string judgeType { get; set; }  //类型          s8 : "民事案件"
        /// <summary>
        /// 案件流程"民事一审"
        /// </summary>
        public List<string> judgeProcess { get; set; }  //审判流程     s9 : "民事一审"
        /// <summary>
        /// 审判时间
        /// </summary>
        public DateTime? judgeDate { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime? postDate { get; set; }

        /// <summary>
        /// 文书类型  判决书
        /// </summary>
        public string docType { get; set; }  //民事判决书
       
        /// <summary>
        /// 证据
        /// </summary>
        public List<string> proofs { get; set; }  //证据
        /// <summary>
        /// 案件特征
        /// </summary>
        public List<string> features { get; set; }  //案件特征
        /// <summary>
        /// 争议焦点
        /// </summary>
        public List<string> focuss { get; set; }  //争议焦点
        /// <summary>
        /// 刑期 (月)
        /// </summary>
        public List<int> prisonterm { get; set; }  //判多久刑期(月)
        /// <summary>
        /// 判决刑法
        /// </summary>
        public List<string> criminalLaw { get; set; }  //判决刑法
        /// <summary>
        /// 不利因素
        /// </summary>
        public List<string> disadvantage { get; set; }  //不利因素
        /// <summary>
        /// /法院名称
        /// </summary>
        public string courtFullName { get; set; }  // 吉林省延吉市人民法院
        /// <summary>
        /// 地区
        /// </summary>
        public string region { get; set; }  // 吉林省延吉市人民法院
        /// <summary>
        /// /名称
        /// </summary>
        public string name { get; set; } //名称



        /// <summary>
        /// 1左上当事人str 1
        /// </summary>
        public List<string> allstr { get; set; } //相关人str
        

        /// <summary>
        /// 2公诉机关 2
        /// </summary>
        public List<string> gongshujiguanSay { get; set; } //公诉机关称
        /// <summary>
        /// 3审理经过 3
        /// </summary>
        public List<string> judgeStatus { get; set; }  //审理经过
        /// <summary>
        /// 4原告诉称 4
        /// </summary>
        public List<string> yuangaoSay { get; set; }  //原告诉称
        /// <summary>
        /// 5被告辩称 5
        /// </summary>
        public List<string> beigaoSay { get; set; }  //被告辩称
        /// <summary>
        /// 6前审述称 6
        /// </summary>
        public List<string> otherSay { get; set; }  //前审述称
        /// <summary>
        /// 7前审经过 7
        /// </summary>
        public List<string> beforeJudge { get; set; }  //前审经过
        /// <summary>
        /// 8本院审理 8
        /// </summary>
        public List<string> nowJudge { get; set; }  //本院审理
        /// <summary>
        /// 9本院认为 9
        /// </summary>
        public List<string> courtClaim { get; set; }  //本院认为
        /// <summary>
        /// 10审判结果 10
        /// </summary>
        public List<string> judgeResult { get; set; }  //审判结果
        /// <summary>
        /// 11附  或者  原判主文  11
        /// </summary>
        public List<string> orignJudgestr { get; set; } //原判主文
        /// <summary>
        /// 12内容最后  12
        /// </summary>
        public List<string> allstrother { get; set; } //相关人str  剩余漏的

        /// <summary>
        /// 13 右下角  审判长，审判员，审判日期等  13
        /// </summary>
        public List<string> judgedatestr { get; set; } //日期str

        /// <summary>
        /// 审判长
        /// </summary>
        public List<string> judgeZ { get; set; }  //审判长
        /// <summary>
        /// 陪审员
        /// </summary>
        public List<string> judges { get; set; }  //审判员
        /// <summary>
        /// 陪审员
        /// </summary>
        public List<string> jurors { get; set; }  //陪审员
        /// <summary>
        /// 书记员
        /// </summary>
        public List<string> writers { get; set; }  //书记员

    }
}
